package com.aishua.fire.entity.dictionary;

import org.hibernate.validator.constraints.NotBlank;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

//修改字典小类
@Data
@EqualsAndHashCode(callSuper=false)
public class UpdateDictName {
	
	@NotBlank(message="数值名称不能为空")
	@ApiModelProperty(value="数值名称",name="dictName",example="中国电信")
	private String dictName;
	
	@NotBlank(message="类别名称(英文)不能为空")
	@ApiModelProperty(value="大类名称(英文)",name="typeCode",example="card_change_status")
	private String typeCode;
	
	@ApiModelProperty(value="字典id",name="id",example="40")
	private Integer id;
}
